import javax.microedition.midlet.MIDlet;
import javax.microedition.lcdui.Display;

public class DrumMIDlet extends MIDlet{
	private VisualizationCanvas vc;
	private Display d;
	public DrumMIDlet(){
		d = Display.getDisplay(this);
		vc = new VisualizationCanvas(this, d);
	}
	public void startApp(){
		d.setCurrent(vc);
	}
	public void pauseApp(){

	}
	public void destroyApp(boolean unconditional){

	}
	public void exit(){
		System.gc();
		destroyApp(false);
		notifyDestroyed();
	}	
}